package com.zofer.study.strategy.ifelse;

public class MoreThousand implements Discount{

    public double discount(double amount) {
        System.out.println("超过1000打5折");
        return amount * 0.5;
    }
}
